﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO
{
    public class ContextFactory
    {
        protected static QLTVEntities context = null;
        private ContextFactory()
        {

        }

        public static QLTVEntities GetInstance()
        {
            if(context == null)
            {
                context = new QLTVEntities();
            }
            return context;
        }
    }
}
